// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import store from './store'

Vue.config.productionTip = false;
//console.log(process.env.NODE_ENV);
/* eslint-disable no-new */
//const baseURL=process.env.NODE_ENV!=="production"?'':''
const baseURL='https://www.easy-mock.com/mock/5acd8b8e63b2d05900908ad4/bilibili';
axios.interceptors.request.use(function(config){
	config.baseURL=baseURL;
	
	return config;
//	console.log(config)
});

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
